'Declaration Public Overloads Function Print( _ ByVal printerName As String, _ ByVal selectedPageNumbers() As Integer _ ) As Boolean
public bool Print( string printerName, int[] selectedPageNumbers )
Parameters
- printerName
- The name of the printer that should be initially selected in the dialog.
- selectedPageNumbers
- The list of selected page numbers. If this parameter is not null, selection option is enabled in the dialog.
Return Value
True if the user pressed OK in the dialog, false if the user cancelled the dialog.